package cn.wolfcode.crm.query;

import com.alibaba.druid.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class PaymentHandlingObjectQuery extends ObjectQuery{
    private String keyword;
    private Date beginDate;
    private Date endDate;

    public String getKeyword(){
        if(StringUtils.isEmpty(keyword)){
            return null;

        }else{
            return keyword;
        }
    }
}
